package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

@Data
@TableName(value = "tbl_private_primitive")
public class PrivatePrimitive implements Serializable {


    private static final long serialVersionUID = 2615842878542217334L;
    /**
     * 主键
     */
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /**
     * 银行卡号
     */
    @TableField(value = "bank_card_number")
    private String bankCardNumber;


    /**
     * 卡类型
     */
    @TableField(value = "card_type")
    private Integer cardType;


    /**
     * 卡类别
     */
    @TableField(value = "card_category")
    private Integer cardCategory;


    /**
     * 卡状态
     */
    @TableField(value = "card_status")
    private Integer cardStatus;


    /**
     * 卡bin
     */
    @TableField(value = "card_bin")
    private String cardBin;


    /**
     * 开户时间
     */
    @TableField(value = "account_opening_time")
    private LocalDateTime accountOpeningTime;


    /**
     * 开户人姓名
     */
    @TableField(value = "account_opening_name")
    private String accountOpeningName;


    /**
     * 身份证号
     */
    @TableField(value = "id_number")
    private String idNumber;


    /**
     * 预留手机号码
     */
    @TableField(value = "phone")
    private String phone;


    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;


    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;


    /**
     * 开户行
     */
    @TableField(value = "opening_bank")
    private String openingBank;


    /**
     * 所属地区
     */
    @TableField(value = "address")
    private String address;


    /**
     * 客户经理
     */
    @TableField(value = "customer_manager_name")
    private String customerManagerName;


    /**
     * 客户经理ID
     */
    @TableField(value = "customer_manager_id")
    private String customerManagerId;


    /**
     * 管控人
     */
    @TableField(value = "control_personnel")
    private String controlPersonnel;


    /**
     * 手机银行用户
     */
    @TableField(value = "is_phone_bank")
    private Integer isPhoneBank;


    /**
     * 手机银行注册时间
     */
    @TableField(value = "phone_bank_register_time")
    private LocalDateTime phoneBankRegisterTime;


    /**
     * 信用卡额度
     */
    @TableField(value = "credit_card_quota")
    private BigDecimal creditCardQuota;


    /**
     * 客户号
     */
    @TableField(value = "cst_id")
    private Integer cstId;


    /**
     * 当日消费金额
     */
    @TableField(value = "day_consumption_amount")
    private BigDecimal dayConsumptionAmount;


    /**
     * 当周消费金额
     */
    @TableField(value = "weeks_consumption_amount")
    private BigDecimal weeksConsumptionAmount;


    /**
     * 当月消费金额
     */
    @TableField(value = "month_consumption_amount")
    private BigDecimal monthConsumptionAmount;


    /**
     * 当季消费金额
     */
    @TableField(value = "quarter_consumption_amount")
    private BigDecimal quarterConsumptionAmount;


    /**
     * 当年消费金额
     */
    @TableField(value = "year_consumption_amount")
    private BigDecimal yearConsumptionAmount;


    /**
     * 当日消费笔数
     */
    @TableField(value = "day_consumption_stroke_count")
    private Integer dayConsumptionStrokeCount;


    /**
     * 当周消费笔数
     */
    @TableField(value = "weeks_consumption_stroke_count")
    private Integer weeksConsumptionStrokeCount;


    /**
     * 当月消费笔数
     */
    @TableField(value = "month_consumption_stroke_count")
    private Integer monthConsumptionStrokeCount;


    /**
     * 当季消费笔数
     */
    @TableField(value = "quarter_consumption_stroke_count")
    private Integer quarterConsumptionStrokeCount;


    /**
     * 当年消费笔数
     */
    @TableField(value = "year_consumption_stroke_count")
    private Integer yearConsumptionStrokeCount;


    /**
     * 时点余额
     */
    @TableField(value = "amount")
    private BigDecimal amount;


    /**
     * 月均存款
     */
    @TableField(value = "monthly_amount")
    private BigDecimal monthlyAmount;


    /**
     * 季均存款
     */
    @TableField(value = "quartertly_amount")
    private BigDecimal quartertlyAmount;


    /**
     * 年均存款
     */
    @TableField(value = "year_amount")
    private BigDecimal yearAmount;


    /**
     * 代发客户 0否 1是
     */
    @TableField(value = "commission_client")
    private Integer commissionClient;


    /**
     * 贷款客户
     */
    @TableField(value = "loan_customer")
    private Integer loanCustomer;


    /**
     * 贷款授信额度
     */
    @TableField(value = "loan_quota")
    private BigDecimal loanQuota;


    /**
     * 贷款金额
     */
    @TableField(value = "loan_amount")
    private BigDecimal loanAmount;


    /**
     * 理财客户
     */
    @TableField(value = "financing_customer")
    private Integer financingCustomer;


    /**
     * 理财购买金额
     */
    @TableField(value = "financing_purchase_amount")
    private BigDecimal financingPurchaseAmount;


    /**
     * 理财持仓金额
     */
    @TableField(value = "financing_position_amount")
    private BigDecimal financingPositionAmount;


    /**
     * 保险客户
     */
    @TableField(value = "insure_customer")
    private Integer insureCustomer;


    /**
     * 保险购买金额
     */
    @TableField(value = "insure_purchase_amount")
    private BigDecimal insurePurchaseAmount;


    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;


    /**
     * 职业
     */
    @TableField(value = "occupation")
    private String occupation;


    /**
     * 金融资产余额
     */
    @TableField(value = "financial_amount")
    private BigDecimal financialAmount;


    /**
     * 日均余额
     */
    @TableField(value = "day_average_amount")
    private BigDecimal dayAverageAmount;

}

